package com.gshrms.common.constant;

/**
 * 缓存的key 常量
 * 
 * @author ruoyi
 */
public class DictConstants
{
    /** 公共状态 */
    public static final class CommonStatus{
        public static final String NORMAL = "0";      // 正常
        public static final String DISABLE = "1";        // 停用
    }

    /** 公共是否 */
    public static final class CommonYesNo{
        public static final String NO = "0";        // 否
        public static final String YES = "1";      // 是
    }

    /** 删除标志 */
    public static final class DelFlag{
        public static final String NORMAL = "0";      // 正常
        public static final String DELETE = "2";        // 已删除
    }

    /** 员工状态 */
    public static final class StaffStatus{
        public static final String TRIAL = "0";      // 试用
        public static final String OFFICIAL = "1";        // 正式
        public static final String TURNOVER = "2";        // 离职
        public static final String RETIREMENT = "3";        // 退休
    }

    /** 用户账号状态 */
    public static final class StaffUserStatus{
        public static final String NONE = "0";        // 未开通
        public static final String NORMAL = "1";      // 已开通
    }

    /** 员工兼职状态 */
    public static final class StaffParttimeStatus{
        public static final String NONE = "0";        // 无兼职
        public static final String NORMAL = "1";      // 兼职
    }

    /** 员工人事业务类型 */
    public static final class StaffFlowType{
        public static final String FLOW_JOIN = "flow_join";        // 入职
        public static final String FLOW_REGULAR = "flow_regular";      // 转正
        public static final String FLOW_TRANSFER = "flow_transfer";      // 调动
        public static final String FLOW_PARTTIME = "flow_parttime";      // 兼职
        public static final String FLOW_TURNOVER = "flow_turnover";      // 离职
        public static final String FLOW_RETIREMENT = "flow_retirement";      // 退休
    }

    /** 字段表单类型 */
    public static final class FormFieldType{
        public static final String TEXT = "text";             // 单行文本
        public static final String TEXTAREA = "textarea";         // 多行文本
        public static final String NUMBER = "number";         // 数字
        public static final String DATE_YMD = "date_ymd";         // 日期(年-月-日)
        public static final String DATE_YM = "date_ym";         // 日期(年-月)
        public static final String SELECT = "select";         // 下拉框(单选)
        public static final String SELECTS = "selects";         // 下拉框(多选)
        public static final String FILES = "files";         // 附件
    }

    /** 入职状态 */
    public static final class StaffFlowJoinStatus{
        public static final String NONE = "0";        // 待入职
        public static final String CANCEL = "2";      // 放弃入职
        public static final String NORMAL = "1";      // 已入职
    }

    /** 转正状态 */
    public static final class StaffFlowRegularStatus{
        public static final String NONE = "0";        // 待转正
        public static final String WAIT = "1";      // 转正中
        public static final String NORMAL = "2";      // 已转正
    }

    /** 调动状态 */
    public static final class StaffFlowTransferStatus{
        public static final String WAIT = "0";      // 调动中
        public static final String NORMAL = "1";      // 调动完成
    }

    /** 调动状态 */
    public static final class StaffFlowParttimeStatus{
        public static final String WAIT = "0";      // 兼职中
        public static final String FINISH = "1";      // 兼职结束
    }

    /** 离职状态 */
    public static final class StaffFlowTurnoverStatus{
        public static final String WAIT = "0";      // 离职中
        public static final String FINISH = "1";      // 离职完成
    }

    /** 退休状态 */
    public static final class StaffFlowRetirementStatus{
        public static final String NONE = "0";        // 即将退休
        public static final String WAIT = "1";      // 退休中
        public static final String NORMAL = "2";      // 退休完成
    }

    /** 合同状态 */
    public static final class ContractStatus{
        public static final String NONE = "0";      // 入职未签
        public static final String VALID = "1";        // 有效合同
        public static final String FINISH = "2";      // 已解除合同
    }
}
